# 字符串举例
str1 = "abc"
if "a" in str1:
    print("a在字符串str1中")
else:
    print("a不在字符串str1中")

# 列表判断
list1 = [0,2,5,7]
if 3 in list1:
    print("3在列表list1中")
else:
    print("3不在列表list1中")

# 元组判断
tp = (1,2,5,8)
if 5 not in tp:
    print("5不在元组tp中")
else:
    print("5在元组tp中")

# 集合
set1 = {"python","java","javascript","golang"}
if "python" not in set1:
    print("python不在集合set1中")
else:
    print("python在集合set1中")


